<template>
  <div>

  <router-view />

<van-tabbar route>
  <van-tabbar-item replace to="/index" icon="home-o">标签</van-tabbar-item>
  <van-tabbar-item replace to="/testList" icon="search">标签</van-tabbar-item>
</van-tabbar>

  </div>
</template>

<script setup>
import {ref} from 'vue';
import {showToast} from 'vant';

const active = ref(0);
const onChange = (index) => showToast(`标签 ${index}`);

</script>

<style scoped>

</style>
